package com.study.manage.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.study.manage.domain.enumm.LiveDieState;

@Entity
@Table(name = "sa_tag")
public class Tag extends AbstractEntity {

    private static final long serialVersionUID = -648475942654818648L;
    public String name;
    public Integer squen;
    public Long parentId;
    @Column(name = "typee")
    public Integer type;// 0 一级； 1 二级
    public LiveDieState state = LiveDieState.LIVE;

    public Tag() {

    }

    public Tag(Long id) {
        this.id = id;
    }
}
